namespace Orchard.Data.Providers
{
    public class SqlServerStatementProvider : ISqlStatementProvider
    {
        public string DataProvider => "SqlServer";

        public string GetStatement(string command)
        {
            switch (command)
            {
                case "random":
                    return "newid()";
                case "table_names":
                    return "select name from sys.tables";
            }

            return null;
        }
    }
}
